package com.wyz.saas.api.app

import android.graphics.Bitmap
import android.view.View
import androidx.fragment.app.Fragment
import com.wyz.saas.api.Authorized

interface ApiButton : Authorized {

    fun getName(): String

    fun getLabel(): String

    fun getBitmap(): Bitmap?

    fun getToolTip(): String

    fun onViewShow(fragment: Fragment?, view: View)

    fun onViewClick(fragment: Fragment?, view: View)

    fun onViewLongClick(fragment: Fragment?, view: View): Boolean

    fun onViewHide(fragment: Fragment?, view: View)

    fun isMapButton(): Boolean

    fun isMenuButton(): Boolean
}